from django.urls import path
from apps.keys_management.views import RootKeyViews, RootKeyDetailViews

urlpatterns = [
    # 根密钥管理API
    path('keys/generateRoot', RootKeyViews.as_view(), name="生成根密钥"),
    path('keys/list', RootKeyViews.as_view(), name="获取根密钥列表"),
    path('keys/detail', RootKeyDetailViews.as_view(), name="获取根密钥详情"),
    path('keys/update', RootKeyDetailViews.as_view(), name="更新根密钥状态"),
]
